package com.evildevil.engines.bubble.texture;

/* loaded from: DDSCaps2.class */
final class DDSCaps2 implements DDSurface {
    protected long caps1 = 0;
    protected long caps2 = 0;
    protected long reserved = 0;
    protected boolean isVolumeTexture = false;

    public void setCaps1(long j) throws TextureFormatException {
        this.caps1 = j;
        if ((j & 4096) != 4096) {
            throw new TextureFormatException("DDS file does not contain DDSCAPS_TEXTURE, but it must!");
        }
    }

    public void setCaps2(long j) {
        this.caps2 = j;
        if ((j & 2097152) == 2097152) {
            this.isVolumeTexture = true;
        }
    }
}